package cn.samehope.pet.web;

import cn.samehope.pet.interceptor.WxInterceptor;

import com.jfinal.aop.Before;
import com.jfinal.core.Controller;

/**
 * 会员相关信息
 * @author LD
 *
 */
public class MemberController extends Controller{
	
	public void index(){
		
	}
	
	/**
	 * 生成相关二维码信息
	 */
	@Before(WxInterceptor.class)
	public void qrcode(){
		String openId = (String)getSessionAttr("open_id_session");
		setAttr("qrcodePic", "/_view/static/images/qr.png");
		render("qrcode.html");
	}

}
